package com.cn.crmsystem.service.systemService;

import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.ResultJson;
import com.cn.crmsystem.pojo.Role;
import com.cn.crmsystem.pojo.User;

public interface RoleService {

    ResultJson selectRole(Role role);

    ResultJson addRole(Role role, Login login);

    ResultJson deleteRole(Integer id);

    ResultJson updateRole(Role role, Login login);

    Role getRole(Integer user_id);

    ResultJson deleteManyRole(Integer[] ids);
}
